package com.kuaiyin.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@Schema(name = "LoginDTO", description = "用户数据传输对象")
public class LoginDTO implements Serializable {
    @Schema(description = "登录账号（唯一）")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(description = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @Schema(description = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String captcha;

    @Schema(description = "验证码标识")
    @NotBlank(message = "验证码标识不能为空")
    private String uuid;
}
